import { onMounted, ref } from "vue";

export default function(){
    const sum=ref(0);
    onMounted(()=>{
        sum.value++
    })
    function add(){
        sum.value++
    }
    return {sum,add}
}